Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

View Hints

To include in a metafile information about the lights, the renderer, the camera, and other view settings, you can by create and write a view hints object. A  view hints object is an object in a metafile that gives hints about how to configure a scene. For instance, you can create a view hints object (by calling Q3ViewHints_New ) and then record a view's current settings by calling functions like Q3ViewHints_SetRenderer and Q3ViewHints_SetCamera . Conversely, when you are reading objects from a metafile and you encounter a view hints object in the file, you can use the information in that object to configure a view object, thereby reconstructing the image as accurately as possible. Or, you can choose to ignore the information in a view hints object you find in a metafile. For information about using view hints objects see "Managing View Hints Objects" .

Figure 1 Types of file objects


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |